export const getOrganizationList = (params) => {
  return http({
    method: "GET",
    url: `/organization/list`,
    params,
  });
};

export const addOrganization = (data) => {
  return http({
    method: "post",
    url: `/organization/add`,
    data,
  });
};

export const editOrganization = (data) => {
  return http({
    method: "put",
    url: `/organization/update`,
    data,
  });
};

export const deleteOrganization = (params) => {
  return http({
    method: "delete",
    url: `/organization/delete`,
    params,
  });
};
